package lab02.test05;

public class Cube {
    Cube(){}
    //构造函数
    float lenght;
    float width;
    float height;
    float volume
    //属性：长宽高、体积
    float initialise(int a,int b,int c){
        lenght=a;
        width=b;
        height=c;
        //初始化
    }
    float volume(){
            return lenght*width*height;
        }
    }


